<!--
<link href="css/up-img.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="js/jquery.form.min.js" type="text/javascript"></script>
<script src="js/up-img.js" type="text/javascript"></script>
-->


<form id="up-img-form" method="post" enctype="multipart/form-data">
	<input type="file" name="upImg" id="load-img" style="display:none" onchange="loadImgChange('load-img', 'preview-box', 'preview-img', 'sel-img-bt', 'up-img-bts', '85px', '35px')" />
    <input type="hidden" id="imgUrl" value="" />
    <input type="hidden" class="imgCate" value="imgCateNo" />
</form>

<p>
<div id="preview-box" class="preview_box_s" onclick="previewBoxClick('load-img')">
	<img id="preview-img" style="display:none; width:85px; height:35px;" />
</div>
<div id="sel-img-bt" class="sel_img_bt_s" onclick="previewBoxClick('load-img')">
	<span style="color:#fff; font-size:12px; line-height:19px;">选择图片</span>
</div>
<div id="up-img-bts" style="margin-top:5px; display:none;">
  <div id="upload-bt" class="upload_bt_s" onclick="submitUpLoadImg('up-img-form', 'loading-div', 'up-result-div', 'up-img-bts', 'preview-box', 'imgUrl')">
  </div><div id="delete-bt" class="delete_bt_s" onclick="deleteImg('up-img-form', 'preview-img', 'sel-img-bt', 'up-img-bts')"></div>
</div>
<div id="loading-div" class="sel_img_bt_s" style="cursor:text; background:none; display:none;">
	<img src="images/icon/loading.gif" />
</div>
<div id="up-result-div" class="sel_img_bt_s" style="cursor:text; background:none; display:none;">
	<span id="up-img-result" style="color:#555; font-size:12px; line-height:19px;">上传成功</span>
</div>
</p>